


<div class="flex flex-col gap-4">
  <p-inputgroup>
    <p-inputgroup-addon>部门名称</p-inputgroup-addon>
    <input pInputText  [(ngModel)]="d.name"  />
  </p-inputgroup>


  <p-inputgroup>
    <p-inputgroup-addon>排序号</p-inputgroup-addon>
    <p-inputnumber [(ngModel)]="d.sort"  mode="decimal" [min]="1" [max]="100"></p-inputnumber>
  </p-inputgroup>

  <p-button label="确定" (click)="confirm()"></p-button>
</div>
